package com.sky.utils;


import com.sky.properties.ShopAdsProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Data
@AllArgsConstructor
@Slf4j
@Component
public class ShopAdsUtil {

    @Autowired
    private ShopAdsProperties shopAdsProperties;



    public String retrnAds() {
        return shopAdsProperties.getAddress();
    }
}
